home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / g_man / cat3 / OpenGL / glxquerycontext.z / glxquerycontext
Encoding:
Text File  |  2002-10-03  |  4.1 KB  |  67 lines

  1.  
  2.  
  3.  
  4. ggggllllXXXXQQQQuuuueeeerrrryyyyCCCCoooonnnntttteeeexxxxtttt((((3333GGGG))))         OOOOppppeeeennnnGGGGLLLL RRRReeeeffffeeeerrrreeeennnncccceeee ---- GGGGLLLLXXXX         ggggllllXXXXQQQQuuuueeeerrrryyyyCCCCoooonnnntttteeeexxxxtttt((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ggggllllXXXXQQQQuuuueeeerrrryyyyCCCCoooonnnntttteeeexxxxtttt - query context information
  10.  
  11.  
  12. CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  13.      int ggggllllXXXXQQQQuuuueeeerrrryyyyCCCCoooonnnntttteeeexxxxtttt( Display *_d_p_y,
  14.                           GLXContext _c_t_x,
  15.                           int _a_t_t_r_i_b_u_t_e,
  16.                           int *_v_a_l_u_e )
  17.  
  18.  
  19. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  20.      _d_p_y        Specifies the connection to the X server.
  21.  
  22.      _c_t_x        Specifies a GLX rendering context.
  23.  
  24.      _a_t_t_r_i_b_u_t_e  Specifies that a context parameter should be retrieved.  Must
  25.                 be one of GGGGLLLLXXXX____FFFFBBBBCCCCOOOONNNNFFFFIIIIGGGG____IIIIDDDD, GGGGLLLLXXXX____RRRREEEENNNNDDDDEEEERRRR____TTTTYYYYPPPPEEEE, or GGGGLLLLXXXX____SSSSCCCCRRRREEEEEEEENNNN.
  26.  
  27.      _v_a_l_u_e      Contains the return value for _a_t_t_r_i_b_u_t_e.
  28.  
  29. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  30.      ggggllllXXXXQQQQuuuueeeerrrryyyyCCCCoooonnnntttteeeexxxxtttt sets _v_a_l_u_e to the value of _a_t_t_r_i_b_u_t_e with respect to _c_t_x.
  31.      _a_t_t_r_i_b_u_t_e may be one of the following:
  32.  
  33.      GGGGLLLLXXXX____FFFFBBBBCCCCOOOONNNNFFFFIIIIGGGG____IIIIDDDD       Returns the XID of the GLXFBConfig associated with
  34.                            _c_t_x.
  35.  
  36.      GGGGLLLLXXXX____RRRREEEENNNNDDDDEEEERRRR____TTTTYYYYPPPPEEEE       Returns the rendering type supported by _c_t_x.
  37.  
  38.      GGGGLLLLXXXX____SSSSCCCCRRRREEEEEEEENNNN            Returns the screen number associated with _c_t_x.
  39.  
  40.      SSSSuuuucccccccceeeessssssss is returned unless _a_t_t_r_i_b_u_t_e is not a valid GLX context
  41.      attribute, in which case GGGGLLLLXXXX____BBBBAAAADDDD____AAAATTTTTTTTRRRRIIIIBBBBUUUUTTTTEEEE is returned.
  42.  
  43.      This call may cause a round-trip to the server.
  44.  
  45. NNNNOOOOTTTTEEEESSSS
  46.      ggggllllXXXXQQQQuuuueeeerrrryyyyCCCCoooonnnntttteeeexxxxtttt is available only if the GLX version is 1.3 or greater.
  47.  
  48.      If the GLX version is 1.1 or 1.0, the GL version must be 1.0.  If the GLX
  49.      version is 1.2, then the GL version must be 1.1.  If the GLX version is
  50.      1.3, then the GL version must be 1.2.
  51.  
  52. EEEERRRRRRRROOOORRRRSSSS
  53.      GGGGLLLLXXXXBBBBaaaaddddCCCCoooonnnntttteeeexxxxtttt is generated if _c_t_x does not refer to a valid context.
  54.  
  55.  
  56. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  57.      ggggllllXXXXCCCCrrrreeeeaaaatttteeeeNNNNeeeewwwwCCCCoooonnnntttteeeexxxxtttt, ggggllllXXXXGGGGeeeettttCCCCuuuurrrrrrrreeeennnnttttCCCCoooonnnntttteeeexxxxtttt, ggggllllXXXXQQQQuuuueeeerrrryyyyVVVVeeeerrrrssssiiiioooonnnn,
  58.      ggggllllXXXXQQQQuuuueeeerrrryyyyEEEExxxxtttteeeennnnssssiiiioooonnnnssssSSSSttttrrrriiiinnnngggg
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.